using System;

namespace Demo
{
    internal static class SessionContext
    {
        public static string UserAccount { get; private set; } = string.Empty;
        public static Guid SessionId { get; private set; } = Guid.Empty;

        public static void Initialize(string userAccount, Guid sessionId)
        {
            UserAccount = userAccount;
            SessionId = sessionId;
        }

        public static void Clear()
        {
            UserAccount = string.Empty;
            SessionId = Guid.Empty;
        }
    }
}

